﻿@model List<Blog.Presentation.Models.Dislpay.ArticleDto>
@foreach (var article in Model)
{   
   
    <div>
        <h2> @Html.ActionLink(article.Title, "View", "Articles", new {title = Blog.Presentation.UIHelpers.UrlEncoder.ToFriendlyUrl(article.Title) }, null)</h2>
    		
            @MvcHtmlString.Create(article.Text)
			
		<p class="post-footer align-right">					
			@Html.ActionLink("Read more", "View", "Articles", new {title = Blog.Presentation.UIHelpers.UrlEncoder.ToFriendlyUrl(article.Title) }, new { @class = "readmore" })
            
			<small>@article.Date.ToString("d MMMM, yyyy")</small>	
		</p>
    </div>	
						
}
